package com.maimao.model.goods.vo;

import com.fasterxml.jackson.annotation.JsonInclude;

import java.io.Serializable;
import java.util.List;

/**
 * 详情页销售规格展示
 *
 * @author MaoLin Wang
 * @date 2020/12/31 7:31 下午
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class SkuShow implements Serializable {

    private static final long serialVersionUID = 3422536922821815014L;
    /**
     * 规格eid
     */
    private Integer id;

    /**
     * 规格组id
     */
    private Integer groupId;

    private String name;

    private String unit;

    private List<Object> values;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<Object> getValues() {
        return values;
    }

    public void setValues(List<Object> values) {
        this.values = values;
    }

    public Integer getGroupId() {
        return groupId;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
    }

    @Override
    public String toString() {
        return "SkuShow{" +
                "id=" + id +
                ", groupId=" + groupId +
                ", name='" + name + '\'' +
                ", unit='" + unit + '\'' +
                ", values=" + values +
                '}';
    }
}
